message(STATUS "FIND OpenCV")
set(OpenCV_DIR /opt/intel/openvino/opencv/cmake)
#	set(OpenCV_DIR ${PROJECT_SOURCE_DIR}/3rdparty/opencv/cmake)
find_package(OpenCV REQUIRED)
message(STATUS "opencv_dir is ${OpenCV_DIR}")
message(STATUS "OpenCV VERSION is ${OpenCV_VERSION}")
if (${WITH_TBB} STREQUAL "ON")
    message(STATUS "FIND TBB")
    set(TBB_ROOT /opt/intel/openvino_2020.2.120/deployment_tools/inference_engine/external/tbb)
    set(TBB_DIR ${TBB_ROOT}/cmake)
    find_package(TBB REQUIRED tbb)
    message(STATUS "TBB Version:${TBB_VERSION}")
    message(STATUS "TBB LIBS:${TBB_IMPORTED_TARGETS}")
endif ()
